Base station for detecting short codes

ABSTRACT

A base station for receiving a transmitted signal in a communication system employing CDMA techniques wherein the transmitted signal includes a plurality of short codes, each of which is transmitted repetitively over a fixed period of time and where the received signal has CW interference in addition to the transmitted signal. The base station detects the presence of the short code in a plurality of time phases of the received signal by calculating a likelihood ratio for each phase. The likelihood ratio takes into account the current short code.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of application Ser. No. 09/415,321,filed Oct. 8, 1999, now U.S. Pat. No. 6,414,951 which application isincorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to the field of code division multiple access(CDMA) communication systems. More particularly, the present inventionrelates to a system for accurately detecting short codes in acommunication environment which includes continuous wave interference.

2. Description of Prior Art

With the dramatic increase in the use of wireless telecommunicationsystems in the past decade, the limited portion of the RF spectrumavailable for use by such systems has become a critical resource.Wireless communications systems employing CDMA techniques provide anefficient use of the available spectrum by accommodating more users thantime division multiple access (TDMA) and frequency division multipleaccess (FDMA) systems.

In a CDMA system, the same portion of the frequency spectrum is used forcommunication by all subscriber units. Typically, for each geographicalarea, a single base station serves a plurality of subscriber units. Thebaseband data signal of each subscriber unit is multiplied by apseudo-random code sequence, called the spreading code, which has a muchhigher transmission rate than the data. Thus, the subscriber signal isspread over the entire available bandwidth. Individual subscriber unitcommunications are discriminated by assigning a unique spreading code toeach communication link. At times it is also useful in a CDMA system totransmit codes which are of shorter length than the usual spreadingcode.

It is known in the art of CDMA communication systems to use a sequentialprobability ratio test (SPRT) detection method to detect thetransmission of a short code. However, in the presence of continuouswave (CW) interference, the use of known SPRT detection methods canresult in a large number of false short code detections. These falsedetections degrade system performance by delaying the detection of validshort codes.

A background noise estimation is required for the SPRT detection method.The background noise estimation is typically performed by applying along pseudo-random spreading code to a RAKE despreader. The output ofthe RAKE despreader has a probability distribution function, (PDF).Referring to FIG. 1A, curve 1 shows a typical PDF background for noisewhich is calculated using a long pseudo-random spreading code wherethere is no CW interference. Curve 3 shows a typical PDF in the presenceof a valid detected signal. However, when CW interference is presentduring the transmission of short codes, the background noise PDF is acurve like 2, which is shifted away from curve 1 and which appearssimilar to the PDF for a valid detected signal, curve 3. The noiseestimate becomes skewed because the short code, which is not completelyrandom is applied to the RAKE and it begins to correlate with therepetitive CW interference. Accordingly, as curve 2 shifts furthertoward curve 3 due to the presence of CW interference, the SPRTdetection method will falsely detect invalid noise as a valid signal.

Referring to FIG. 1B, there is shown a block diagram of a prior artshort code detector system 10. The short code detector system 10 istypically located in a base station for detecting short codes receivedfrom a subscriber unit. A signal containing short codes, continuous waveinterference and other forms of background noise is applied to the shortcode detector system 10 by way of the detector input line 12, and isreceived by a detector input block 14. The detector input block 14includes a RAKE demodulator having M different phases. The RAKEdemodulator operates on the input signal by combining it with the shortpilot code. The pilot code is a pseudorandom code which is generatedlocally by the base station and transmitted by subscribers initiating acall setup.

A first output signal of the detector input block 14 is applied to adetection block 16 of the detector system 10. The detection block 16contains a SPRT detection method. The output signal of the detectionblock 16 appears on a decision line 20. The signal of the decision line20 represents a decision by the SPRT detection method of detection block16 whether a short code is present in the signal received by the inputblock 14.

A second output signal of the input block 14 is applied to a noiseestimator, which is comprised of a separate RAKE demodulator (AUX RAKE)which uses a long pseudorandom code in combination with the input signalto perform a background noise estimation. The result of the backgroundnoise estimation performed in block 18 is a PDF which is applied to theSPRT detection method of detection block 16.

Referring now to FIG. 2, there is shown prior art short code detectionmethod 40. The detection method 40 is used to detect the presence ofshort codes transmitted in a wireless communication system. For example,the short code detection method 40 is suitable for operation within thedetection block 16 of the short code detector system 10 to detect thepresence of short codes in the input signal of the input line 12.

Execution of the short code detection method 40 begins at the startterminal 42 and proceeds to step 44 where one of the M different phasesof the RAKE 14 is selected. The short code detection method 40 proceedsto step 46 where a background noise estimate, performed by the AUX RAKE,(in the noise estimator 18 of FIG. 1B), is updated. The signal isapplied by the noise estimator 18 to the detection block 16. At step 50,a sample of the signal from the selected phase of the input line 12 asreceived by the input block 14 is applied to the detection block 16 forcomputation according to the short code detection method 40.

Referring now to FIG. 3A, there is shown a graphical representation 70of the operation of the short code detection method 40. An acceptancethreshold 74 and a rejection threshold 76 are set forth within alongwith two likelihood ratios 80, 84. A likelihood ratio is a decisionvariable that is well known to those skilled in the art. It is usefulwhen determining the presence of a signal in a communication system. Thelikelihood ratios 80, 84 have starting values approximately midwaybetween the thresholds 74, 76. They are repeatedly adjusted by the shortcode detection method 40 for comparison with thresholds 74, 76 in orderto determine the presence of short codes.

Although, the starting values of the likelihood ratios 80, 84 areapproximately midway between the thresholds 74, 76, adjustments are madeto the likelihood ratios 80, 84 which can be positive or negative asdetermined by the calculations of the detection method 40. As thelikelihood ratio of a phase increases and moves in the direction of theacceptance threshold 74, there is an increasing level of confidence thata short code is present. When a likelihood ratio crosses the acceptancethreshold 74 the level of confidence is sufficient to determine that ashort code is present in the phase. As the likelihood ratio decreasesand moves in the direction of the rejection threshold 76, there is anincreasing level of confidence that a short code is not present in thephase. When a likelihood ratio crosses the rejection threshold 76, thelevel of confidence is sufficient to determine that no short code ispresent.

Returning to FIG. 2 the likelihood ratio of the current phase is updatedat step 54. It will be understood by those skilled in the art that sucha likelihood ratio is calculated for each of the M different phases ofthe RAKE. The likelihood ratio of the current phase is calculated inview of the background estimate of step 46 and the input sample taken atstep 50.

At step 56, a determination is made whether the likelihood ratios of allM phases are below the rejection threshold 76. If even one of thelikelihood ratios is above the rejection threshold 76 it is possiblethat a short code is present in the received transmission. In this case,execution of short code detection method 40 proceeds to step 58. At step58, a determination is made whether any of the likelihood ratioscalculated by the detection method 40 is above the acceptance threshold74. If any likelihood ratio is above acceptance threshold 74, asdetermined by step 58, a determination is made that a short code ispresent step 60.

If the detection method 40 operates within the detection block 16 of theshort code detector system 10 this determination can be indicated bymeans of the decision line 20.

If all of the likelihood ratios are below the rejection threshold 76 asdetermined by step 56, it is possible to be confident that no short codeis present in any of the M phases of the received signal. Accordingly,the detection method 40 proceeds to step 52 where the likelihood ratiosof all M phases are cleared. The phase of the local spreading code, thepilot code, is advanced in step 48 for use with the RAKE and the nextRAKE phase is selected in step 44

If a likelihood ratio is above the rejection threshold 76 but nolikelihood ratio is above the acceptance threshold 74, as determined bystep 58, the detection method 40 proceeds by way of path 59 whereby anew sample of the signal phase is obtained, (step 50). The repeatedbranching of the detection method 40 by way of path 59 to obtain andprocess new samples in this manner causes the adjustment of the variouslikelihood ratios either toward or away from thresholds 74, 76. Theshort code detection method 40 repeatedly proceeds by way of path 59until either: 1) one of the likelihood ratios crosses above theacceptance threshold 74; or 2) all of the likelihood ratios cross belowthe rejection threshold 76. Only when one of these two events occurs isthere a sufficient confidence level to determine whether or not a shortcode is present. The number of samples required for one of these twoevents to occur is a measure of the efficiency of the short codedetection method 40.

Repeated branching by way of path 59 can provide either an increasinglikelihood or a decreasing likelihood that a short code is present. Forexample, in the case of the first likelihood ratio 80 shown in FIG. 3A,the repeated branching by way of path 59 causes adjustment of likelihoodratio 80 generally in the direction of the rejection threshold 76. Whencontinued performance of the operations of the detection method 40causes the likelihood ratio 80 to cross the rejection threshold 76,there is a high enough confidence level to determine that no short codeis present within the current phase. Repeated branching by way of path59 can also provide an increasing likelihood that a short code ispresent. For example, in the case of the second likelihood ratio 84shown in FIG. 3A, successive samples cause adjustment of the likelihoodratio 84 generally in the direction of the acceptance threshold 74. Whencontinued branching by way of path 59 causes the likelihood ratio 84 tocross the acceptance threshold 74, there is a high enough confidencelevel to determine that a short code is present within the currentphase.

FIG. 7 is a plot of the average number of samples required whenemploying the detection method 40 to acquire a short code in thepresence of CW interference. The plot demonstrates that the number ofsamples required to acquire a short code increases dramatically when theamplitude of CW interference is greater than 0.2 times the magnitude ofthe background noise. The drop in the number of samples shown for CWinterference greater than 0.6 times the magnitude of the backgroundnoise does not indicate improved short code detection performance, butrather, it reflects the fact that false detections begin occurring atthis point.

As shown in FIG. 7, low levels of CW background interference increaseshort code acquisition time when using a conventional SPRT method, suchas detection method 40. Additionally, higher levels of CW interferencecause false detections of short codes, which also result in anunacceptably long acquisition time to detect a valid short code. Theapplicant has recognized a need for a short code detection method thatcan reliably and quickly detect the presence of short codes in a CDMAtransmission that contains CW background noise.

SUMMARY OF THE INVENTION

A method is disclosed for receiving a transmitted signal in acommunication system employing CDMA techniques wherein the transmittedsignal includes a plurality of short codes, each of which is transmittedrepetitively over a fixed period of time. The method is particularlyuseful in rejecting CW interference which may be received with thetransmitted signal. The method includes using a SPRT for detecting thepresence of the short code in a plurality of phases of the receivedsignal by calculating a likelihood ratio for each phase. For each signalphase examined, the likelihood ratio is updated until its value eitherreaches a threshold that is consistent with the presence of a detectedshort code or reaches a threshold that is consistent with the absence ofa short code. A likelihood ratio is a comparison of the signal'sProbability Distribution Function (PDF) with a background noise PDF. ThePDFs are calculated by passing the signal through a RAKE despreader. Thebackground noise PDF is calculated by combining in the RAKE the currentshort pilot code with the input signal. A new background noise PDF iscalculated when the pilot code changes.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A is the probability distribution functions for received signalsand for background noise;

FIG. 1B is a prior art short code detector system;

FIG. 2 is a flow chart of a prior art short code detection methodsuitable for use in short code detection using the short code detectorsystem of FIG. 1B;

FIG. 3A is the likelihood ratios and decision thresholds suitable foruse in a short code detection method;

FIG. 3B is a block diagram of short codes;

FIG. 4A is the preferred embodiment of the present invention;

FIG. 4B is a flow chart of the short code detection method of thepresent invention;

FIG. 5 is a graph of the probability of false alarm performance of theprior art short code detection method of FIG. 1;

FIG. 6 is a graph of the probability of false alarm performance of theshort code detection method of FIG. 4;

FIG. 7 is a graph of the average sample number performance of the priorart short code detection method of FIG. 1; and

FIG. 8 is a graph of the average sample number performance of the shortcode detection method of FIG. 4.

DETAILED DESCRIPTION OF THE DRAWINGS

The present invention will be described with reference to the drawingfigures wherein like numerals represent like elements throughout.

Referring to FIG. 4A, there is shown a block diagram representation ofthe short code detector system 400 of the present invention. A signalcontaining short codes, continuous wave interference and other forms ofbackground noise is applied to the short code detector system 400 by wayof a detector input line 412 and is received by a detector input block414. The detector input block 414 includes a RAKE demodulator having Mdifferent phases.

A first output signal of the detector input block 414 is applied to adetection block 416 of the detector system 400. The detection block 416contains a SPRT detection method. The output signal of the detectionblock 416 appears on a decision line 420. The signal of the decisionline 420 represents a decision by the SPRT detection method of thedetection block 416 whether a short code is present in the signalreceived by the input block 414. A second output signal of the detectorinput block 414 is applied to a noise estimator 418, which includes aseparate RAKE demodulator (AUX RAKE) which uses the same short codebeing transmitted by the subscriber. As will be explained in detailhereinafter, the body and noise estimate is used by the SPRT detectionmethod in the detection block 416 to more accurately detect the presenceof a valid signal code.

Referring to FIG. 4B, there is shown a short code detection method 100in accordance with the present invention. The short code detectionmethod 100 can be used in a short code detection system 400 shown inFIG. 4A to detect the presence of short codes 88 a-c within the variousphases of a received signal. Execution of the short code detectionmethod 100 begins at step 102 and proceeds to step 104 where abackground noise estimate is performed. The background noise estimate iscalculated by combining in the RAKE 414 the input signal with the shortcode; which is the same short code being used by subscriber to initiatecall setup to the base station.

Referring to FIG. 3B, there is shown a block diagram 86 of the shortcodes 88 a-c which are used by the subscriber for transmission to thebase station. For example, a first short code 88 a is used for a 3millisecond duration as the input to the pilot RAKE. If the pilot signalhas not been detected by the base station within that 3 millisecond timeperiod, the short code 88 a is updated to a new short code 88 b. Anupdate period 92 b is necessary to update the code. Short codes areupdated every 3 millisecond to avoid any unexpected unfavorable crosscorrelation effects.

As will be explained in detail hereinafter, a new background noiseestimate is calculated each time the short code 88 a-c used for thedetection of the pilot code changes. The use of periodically updatedshort codes by the present invention to estimate background noiseproduces a PDF that more closely resembles the actual background noise,even in the presence of continuous wave interference. Accordingly, asshown in FIG. 1A, curve 2 which represents the background noise in thepresence of CW interference is more readily distinguished from curve 3which represents a valid signal.

Referring to step 108, a plurality of phases M of the RAKE 14 isselected and a signal sample for each phase is obtained at step 116. Theinput (received) signal is despread using M different phases of theshort pilot code at the RAKE. In the present invention, the preferrednumber of phases M of the RAKE 14 is eight. However, it should beunderstood that any number may be selected The likelihood ratio for eachof the M phases is calculated at step 128, according to the backgroundnoise estimation of step 104 and the new samples of step 116. Since thepreferred embodiment of the present invention utilizes eight phases ofthe RAKE 14, calculations are performed in parallel for each phase.Accordingly, eight separate likelihood ratios are calculated andmaintained. A determination is made at step 138 whether the likelihoodratios of all M phases are below the rejection threshold 76. If thedetermination 138 is negative, a short code may be present in at leastone of the M phases. In this case, a further determination 144 is madewhether any of the likelihood ratios is above the acceptance threshold74. If the determination 144 is affirmative, a short code is present andexecution of short code detection method 100 proceeds to step 152 whichindicates that the pilot signal has been acquired.

If all of the likelihood thresholds are below the rejection threshold76, as determined at step 138, there is a high enough confidence levelto determine that no short codes are present in any of the current Mphases. Under these circumstances, the detection method 100 proceeds byway of branch 140 to step 134. At step 134 a determination is madewhether a three millisecond time period has expired.

The three millisecond time period at decision step 134 is synchronizedwith changes in the short codes used by the subscriber unit to acquirethe pilot signal. The use of the three millisecond time period in thepresent specification is by way of example only. Those of skill in theart should realize that the time period used to update the short codesfor acquiring the pilot signal is the same time period that will be usedin accordance with the present inventive method to update the backgroundnoise. The specific time period is not central to the present invention.

If the three millisecond timer has not expired, as determined atdecision step 134, detection continues using the same backgroundestimation. Under these circumstances execution of the short codedetection method 100 proceeds directly to step 120 where all of thelikelihood ratios for the current M phases are cleared. The code phaseis then advanced at step 112 and M new phases are processed, therebyrepeating step 108 and the short code detection method 100.

If the three millisecond time period has expired, as determined by step134, the timer is reset and a fast update of the background noiseestimate is performed as shown at step 132. The background noiseestimate is performed in the manner previously described for step 104,using the new short code. The expiration of the 3 millisecond timeperiod coincides with the use of a new short code.

Referring back to FIG. 3B, since each short code 88 a-c has a respectiveupdate period 92 a-c at the beginning of the use of a new short code 88a-c, the background noise estimation update set forth at step 132 isperformed during the respective update period 92 a-c for that shortcode. The sample of step 132 should be obtained very quickly after thetime period expires. In the preferred embodiment of the invention thesample is obtained within a few symbol periods of the use of a new shortcode 88 a-c.

This inventive method for updating the background noise results inperforming the operations of short code detection method 100 upon a setof samples having a noise estimation using the same short code time slotas the sample. The use of a noise estimation from the same time slot asthe sample improves the accuracy of short code detection method 100. Thebackground noise estimate is used to update a background noise PDF instep 124. At step 120 all likelihood ratios are cleared. The local codephase is advanced at step 112 and a new phase and a new sample areprocessed, thereby repeating step 108 and beginning the short codedetection method 100 again.

Referring back to FIG. 4B if a likelihood ratio is above rejectionthreshold 76 but no likelihood ratios are above acceptance threshold 74,as determined by step 144, execution of the short code detection method100 proceeds by way of branch 150 to step 148. At step 148 adetermination, is made whether the three millisecond time period hasexpired. If the three millisecond time period has not expired, thedetection method 100 continues to operate with the current backgroundnoise estimate, and a new sample for each of the M phases is taken atstep 116. If the three millisecond time period has expired, thisindicates that a new short code is being used. Accordingly, the timer isreset and a fast update of the background noise is performed in block146, the background noise estimate is adjusted in step 142, and a newsample for each phase is taken at step 116.

As described above, the three millisecond time period is tested duringevery pass through the detection method 100, whether execution ofdetection method 100 passes by way of branch 140 where all currentlikelihood ratios have crossed the dismissal threshold, or whenexecution passes by way of branch 150 where no current likelihood ratioshave passed the acceptance threshold.

Referring to the graph 180 of FIG. 5, the graph 180 sets forth theprobability of a false acquisition by prior art short code detectionmethod 40 for a plurality of values of CW magnitudes. The probability ofa false acquisition by the prior art short code detection method 40begins rising sharply when the CW interference is 0.5 times thenormalized value of the background noise and reaches one hundred percentwhen CW is at 0.8 times the value of the background noise.

However, referring to FIG. 6, a second graph 200 sets forth theprobability of a false acquisition by the present inventive short codedetection method 100 for a plurality of continuous wave magnitudes. Asshown, the probability of a false acquisition by the short codedetection method 100, is substantially zero even where CW interferenceis a large as 4 times the value of the background noise. Thus, thepresent invention provides a substantial improvement in falseacquisition performance over the prior art short code detection method40.

Referring now to FIGS. 7 and 8, two graphs are shown 220, 240 which setforth the average sample number required by the short code detectionmethods 40, 100 to determine whether a short code is present. It will beunderstood by those skilled in the art that the smaller the number ofsamples required to make this determination, the better the methodperforms. As continuous wave interference magnitude increases, the priorart short code detection method 40 requires substantially more samplesin order to detect a short code. As shown in FIG. 7 the average samplenumber can increase by an order of magnitude as the magnitude of the CWinterference is increased. The drop in the number of samples shown ingraph 220 for CW interference greater than 0.6 times the magnitude ofthe background noise does not indicate improved short code detectionperformance, but rather it reflects the fact that false detections beginoccurring at this point.

In contrast, as shown in FIG. 8, the average sample number required bythe present inventive detection method 100 remains substantiallyconstant over a wide range of continuous wave magnitudes. Furthermore,the required number of samples for the detection method 100 remainsubstantially lower for CW magnitudes that are much higher than thosecausing the sharp rise in sample numbers for the prior art detectionmethod 40. False indications of short codes are virtually eliminated bythe present invention.

The previous description of the preferred embodiments is provided inorder to enable those skilled in the art to make and use the presentinvention. The various modifications to the embodiments shown will bereadily apparent to those skilled in the art, and the generic principlesdefined herein can be applied to other embodiments without providing aninventive contribution. Thus, the present invention is not intended tobe limited to the embodiments shown but is to be accorded the widestscope consistent with the principles and features disclosed.

What is claimed is:
 1. A base station for receiving a transmitted signalwhich includes at least one short code which is periodically updated;the base station comprising: a despreader for receiving and despreadingsaid transmitted signal to output a despread signal; a background noiseestimator for obtaining a background noise estimation using said atleast one periodically updated short code; and a decision unit, whichreceives said despread signal and said background noise estimate,calculates a value representing the likelihood that a short code hasbeen detected and compares said value with a predetermined threshold;whereby the decision unit confirms the detection of said short code ifsaid value exceeds said predetermined threshold.
 2. The base station ofclaim 1, whereby the decision unit further compares said value with aplurality of predetermined thresholds, whereby at least one of saidpredetermined thresholds is an acceptance threshold and at least one ofsaid predetermined thresholds is a rejection threshold.
 3. The basestation of claim 2, whereby the transmitted signal has a plurality ofsignal phases, and whereby the decision unit compares a plurality ofvalues, corresponding to the plurality of signal phases, with theplurality of predetermined thresholds.
 4. The base station of claim 3,whereby the decision unit advances the signal phase if one of saidplurality of values crosses one of said plurality of predeterminedthresholds.
 5. The base station of claim 3, whereby the decision unitadvances the signal phase if one of said plurality of values crossessaid rejection threshold.
 6. The base station of claim 1, wherein thedespreader includes a RAKE, and the decision unit calculates said valuein accordance with at least a sample of the output of said RAKE.
 7. Thebase station of claim 1, whereby the transmitted signal comprises aplurality of time slots separated by a plurality of time slot boundariesand each time slot includes a time slot update period, and thebackground noise estimator obtains said background noise estimationduring said update period.
 8. The base station of claim 7, whereby thetime slot update period occurs substantially immediately after the timeslot boundary.
 9. The base station of claim 8, whereby said decisionunit calculates said value during a selected time slot in accordancewith a background noise estimation obtained only during said updateperiod.
 10. A base station for receiving a signal transmitted by acommunication unit wherein the transmitted signal includes a pluralityof short codes, and the communication unit repetitively transmits atleast one short code which is periodically updated, the base stationcomprising: a background noise estimator for obtaining a backgroundnoise estimation using the same periodically updated short code; meansfor utilizing said background noise estimation to adjust a likelihoodratio in accordance with the transmitted signal; and a comparator forcomparing said likelihood ratio with a predetermined threshold todetermine whether said likelihood ratio exceeds said predeterminedthreshold.
 11. The base station of claim 10, whereby the comparatorfurther compares said ratio with a plurality of predeterminedthresholds, whereby at least one of said predetermined thresholds is anacceptance threshold and at least one of said predetermined thresholdsis a rejection threshold.
 12. The base station of claim 11, whereby thetransmitted signal has a plurality of signal phases, and whereby thecomparator compares a plurality of ratios, corresponding to theplurality of signal phases, with the plurality of predeterminedthresholds.
 13. The base station of claim 12, whereby the comparatoradvances the signal phase if one of said plurality of ratios crosses oneof said plurality of predetermined thresholds.
 14. The base station ofclaim 13, whereby the comparator advances the signal phase if one ofsaid plurality of likelihood ratios crosses said rejection threshold.15. The base station of claim 10, further comprising a RAKE, wherein thecomparator utilizes the output of said RAKE and calculates said ratio inaccordance with at least a sample of said output of said RAKE.
 16. Thebase station of claim 10, whereby the transmitted signal comprises aplurality of time slots separated by a plurality of time slot boundariesand each time slot includes a time slot update period, and thebackground noise estimator obtains said background noise estimationduring said update period.
 17. The base station of claim 16, whereby thetime slot update period occurs substantially immediately after the timeslot boundary.
 18. The base station of claim 17, whereby said comparatorcalculates said ratio during a selected time slot in accordance with abackground noise estimation obtained only during said update period.